package com.zhigongtech.tender.sys.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.zhigongtech.extension.entry.DataEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * user role relationship 用户角色关系
 * </p>
 *
 * @author Alan
 * @since 2019-05-30
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("sys_user_role")
@ApiModel(value="UserRole对象", description="user role relationship 用户角色关系")
public class UserRole extends DataEntity<UserRole> {

private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "user key 用户主键")
    private String userId;

    @ApiModelProperty(value = "role key 角色主键")
    private String roleId;


}
